package com.blb.zy_community.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blb.zy_community.entity.ZyCommunity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 小区  Mapper 接口
 * </p>
 *
 * @author 二组
 * @since 2023-06-18
 */
@Mapper
public interface ZyCommunityMapper extends BaseMapper<ZyCommunity> {
    /**
     * 分页查询小区信息
     * @param page
     * @param communityName
     * @param communityCode
     * @return
     */
    Page<ZyCommunity> selectZyCommunityPage(Page<ZyCommunity> page,String communityName,String communityCode,String communityId);
    /**
     * 根据小区序号数组，批量删除
     * @param communityId
     */
    void deleteCommunities(Long[] communityId);
}
